﻿namespace GamFi.API.Application.Contracts.Wallet.PostChangeBalance;

public class PatchChangeBalanceRequest
{
    /// <summary>
    /// Пустой конструктор
    /// </summary>
    public PatchChangeBalanceRequest()
    {
    }
    
    /// <summary>
    /// Конструктор
    /// </summary>
    public PatchChangeBalanceRequest(PatchChangeBalanceRequest request)
    {
        Amount = request.Amount;
        Operation = request.Operation;
    }

    /// <summary>
    /// Сумма изменения
    /// </summary>
    public double Amount { get; set; }
    
    /// <summary>
    /// Операция
    /// </summary>
    public string Operation { get; set; } = default!;
}